package br.rc.unesp.tcc.business.to;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import br.rc.unesp.tcc.model.bean.Student;


@XmlRootElement(name = "studentList")
public class StudentListTO {

	private List<Student> studentList = new ArrayList<Student>();

	public StudentListTO() {
	}

	public StudentListTO(List<Student> studentList) {
		this.studentList = studentList;
	}

	@XmlElement(name = "student")
	public List<Student> getStudentList() {
		return studentList;
	}

	public void setStudentList(List<Student> studentList) {
		this.studentList = studentList;
	}
}